/*
 * 说说页面样式文件 - Talks Page Styles
 * 定义动态展示、时间线、互动功能等样式
 */

.container {
  padding: 80px 20px 20px;
  max-width: 800px;
  margin: 0 auto;
  min-height: 100vh;
  
  .header {
    text-align: center;
    margin-bottom: 32px;
    
    .title {
      font-size: 32px;
      font-weight: 700;
      color: #262626;
      margin-bottom: 8px;
      background: linear-gradient(135deg, #1890ff, #722ed1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .subtitle {
      font-size: 16px;
      color: #8c8c8c;
      margin: 0;
    }
  }
  
  .talkList {
    .loading {
      text-align: center;
      padding: 40px 20px;
      
      p {
        margin-top: 16px;
        color: #8c8c8c;
        font-size: 14px;
      }
    }
    
    .noMore {
      text-align: center;
      padding: 20px;
      color: #bfbfbf;
      font-size: 14px;
      
      p {
        margin: 0;
      }
    }
    
    .empty {
      text-align: center;
      padding: 60px 20px;
      
      p {
        font-size: 16px;
        color: #bfbfbf;
        margin: 0;
      }
    }
  }
  
  .backTop {
    width: 48px;
    height: 48px;
    background: #1890ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.3);
    transition: all 0.3s ease;
    
    &:hover {
      background: #40a9ff;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
    }
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  animation: fadeInUp 0.8s ease-out;
}

.header {
  animation: slideInDown 0.6s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 60px 16px 20px;
    max-width: 100%;
    
    .header {
      margin-bottom: 24px;
      
      .title {
        font-size: 24px;
      }
      
      .subtitle {
        font-size: 14px;
      }
    }
  }
}

@media (max-width: 480px) {
  .container {
    padding: 50px 12px 20px;
    
    .header {
      .title {
        font-size: 20px;
      }
    }
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
  
  &:hover {
    background: #a8a8a8;
  }
}